home *** CD-ROM | disk | FTP | other *** search
- <!--#include file="header.htm" -->
-
- <%@ Page aspcompat=true %>
- <%
- Dim cgiPath = "(scriptpath)"
- Dim scrName = Request.ServerVariables("URL")
- Dim query = Request.ServerVariables("QUERY_STRING")
-
- if query <> "" then
- Dim url = cgiPath & "?" & query & "&wrap=" & scrName
- Dim xml = Server.CreateObject("MSXML2.ServerXMLHTTP")
-
- Try
- xml.Open ("GET", url, False)
- Catch ex As Exception
- Dim newUrl As New UriBuilder (Request.Url.Scheme, Request.Url.Host, Request.Url.Port, cgiPath & "?" & query & "&wrap=" & scrName)
- xml.Open ("GET", newUrl.ToString, False)
- End Try
-
- xml.Send()
- Response.write (xml.Responsetext)
- end if
- %>
-
- <!--#include file="footer.htm" -->
-